<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="bean" uri="/struts-bean"%>
<%@ taglib prefix="html" uri="/struts-html"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>



<jsp:include page="header_login.jsp"/>
		<div id="content">
					
		  <div id="full_content">
			<div align="center">
	                  <a href="/footprint/addDestination.jsp"> 
					     <input class="submit" type="submit" name="button" value="Add new destination"/>
					  </a>
			 </div>
			 <table align="left">
			 <h3 style="color:#726257; font: bold 20px arial;"><Strong>People have been to...</Strong></h3>
			 <hr>
             <c:forEach items="${destList}" var="dl">	
	               <tr style="margin-top:15px;">
	                <td>
	                 <a href="/footprint/viewDestination.do?did=${dl.destinationId}"> 
                        <c:out value="${dl.destinationName}"/>
                     </a>
                    </td>
                   </tr>
                   <tr style="margin-top:13px; text-align:left;">
                    <td>
                        Where is it? 
                     </td>
                     <td>
                        <span style="color:#C36241; font: 16px arial;">
                        <c:out  value="  ${dl.country.countryName}"/>
                        </span>
                     </td>
                   </tr>
                   <tr style="margin-top:13px; text-align:left;">
                    <td>
                        What they say? 
                     </td>
                     <td>
                        <span style="color:#C36241; font:  18px arial;">
                        <c:out value=" ${dl.description}" />
                        </span>
                     </td>
                   </tr>
                   <tr>
                   <td><br></td>
                   </tr>
	          </c:forEach>
	         </table>
	        </div>
	         
	          <div class="clr"></div>
	       </div>
<jsp:include page="footer.jsp"/>